import { createApp } from 'vue'
import './style.css'
import router from '@/router'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'// 中文语言包
import 'amfe-flexible'
import '@/utils/rem'
import store from '@/stores'

const app = createApp(App);
app.use(ElementPlus).use(router).use(store).mount('#app')

//全局注册图标组件
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
